export const tableOption = {
  border: true,
  index: false,
  indexLabel: "序号",
  stripe: true,
  menuAlign: "center",
  align: "center",
  searchMenuSpan: 6,
  labelWidth: 100,
  dialogEscape: false,
  dialogClickModal: false,
  dialogWidth: "40%",
  column: [
    {
      type: "input",
      label: "商户名称",
      search: true,
      prop: "companyName",
      rules: [
        {
          required: true,
          message: "请输入商户名称",
          trigger: "blur"
        }
      ]
    },
    {
      type: "input",
      label: "纳税识别号",
      prop: "companyCode"
      // ,
      // rules: [
      //   {
      //     required: true,
      //     message: "请输入纳税识别号",
      //     trigger: "blur"
      //   }
      // ]
    },
    {
      type: "input",
      label: "联系人",
      search: true,
      prop: "contactName",
      rules: [
        {
          required: true,
          message: "请输入联系人",
          trigger: "blur"
        }
      ]
    },
    {
      type: "input",
      label: "电话",
      search: true,
      prop: "contactPhone",
      rules: [
        {
          required: true,
          message: "请输入电话",
          trigger: "blur"
        }
      ]
    },
    {
      type: "input",
      label: "创建时间",
      addDisplay: false,
      editDisplay: false,
      hide: true,
      prop: "createDate"
    },
    {
      type: "input",
      label: "更新时间",
      addDisplay: false,
      editDisplay: false,
      hide: true,
      prop: "updateDate"
    },
    {
      type: "textarea",
      label: "备注信息",
      span: 24,
      prop: "remarks"
    }
  ]
};
